﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataTransferObject.DiaryAndTrackingTask.SupportClassForProblemDS;
using DataTransferObject.DiaryAndTrackingTask;

namespace DataTransferObject.DiaryAndTrackingTask
{
    namespace SupportClassForProblemDS
    {

        //public class TemplateMessageAnal
        //{
        //    #region Attributes

        //    private List<TemplateMessageItem> listTemplateMessItem = new List<TemplateMessageItem>();

        //    #endregion


        //    #region Properties


        //    #endregion
        //}

        public class InstructionDS
        {
            #region Attributes
            private int instructionID;
            private String title;
            private List<String> stepByStep;
            #endregion

            #region Properties
            public int InstructionID
            {
                get { return this.instructionID; }
                set { this.instructionID = value; }
            }

            public String Title
            {
                get { return this.title; }
                set { this.title = value; }
            }

            public List<String> StepByStep
            {
                get { return this.stepByStep; }
                set { this.stepByStep = value; }
            }


            #endregion
        }

        public class TipDS
        {
            #region Attributes
            private int tipID;
            private String title;
            private List<String> tipsHaveSameName;
            #endregion

            #region Properties
            public int TipID
            {
                get { return this.tipID; }
                set { this.tipID = value; }
            }

            public String Title
            {
                get { return this.title; }
                set { this.title = value; }
            }

            public List<String> TipsHaveSameName
            {
                get { return this.tipsHaveSameName; }
                set { this.tipsHaveSameName = value; }
            }




            #endregion
        }

        public class QuestionDS
        {
            #region Attributes
            private int questionID;
            private List<String> contentTemplate = new List<String>();
            private List<InstructionDS> listInstructions = new List<InstructionDS>();
            private List<TipDS> listTips = new List<TipDS>();
            #endregion

            #region Properties
            public int QuestionID
            {
                get { return this.questionID; }
                set { this.questionID = value; }
            }

            public List<String> ContentTemplate
            {
                get { return this.contentTemplate; }
                set { this.contentTemplate = value; }
            }

            public List<InstructionDS> ListInstructions
            {
                get { return this.listInstructions; }
                set { this.listInstructions = value; }
            }

            public List<TipDS> ListTips
            {
                get { return this.listTips; }
                set { this.listTips = value; }
            }


            #endregion
        }
    }

    public class ProblemDS
    {
        #region Attributes
        private int problemID;
        private List<QuestionDS> listQuestion = new List<QuestionDS>();
        #endregion

        #region Properties
        public int ProblemID
        {
            get { return this.problemID; }
            set { this.problemID = value; }
        }

        public List<QuestionDS> ListQuestion
        {
            get { return this.listQuestion; }
            set { this.listQuestion = value; }
        }


        #endregion
    }
}
